package entity;

public class User {
    private String userId;//用户ID
    private String userName;//用户姓名
    private String userPassword;//用户密码
    private float cardBalance;//用户卡余额
    private String identity;//用户身份

    public User() {
    }

    public User(String userId, String userName, String userPassword, float cardBalance, String identity) {
        this.userId = userId;
        this.userName = userName;
        this.userPassword = userPassword;
        this.cardBalance = cardBalance;
        this.identity = identity;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public float getCardBalance() {
        return cardBalance;
    }

    public void setCardBalance(float cardBalance) {
        this.cardBalance = cardBalance;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }
}
